home *** CD-ROM | disk | FTP | other *** search
- Path: pub.news.uk.psi.net!usenet
- From: andrew oxenburgh <andrew.oxenburgh@private.nethead.co.uk>
- Newsgroups: comp.lang.c++
- Subject: Re: Small question
- Date: 7 Apr 1996 09:32:01 GMT
- Organization: PSINet UK Public Usenet Site
- Message-ID: <4k822h$s8t@pub.news.uk.psi.net>
- NNTP-Posting-Host: ip17.videotron.usr1.nethead.co.uk
-
- sence@ava.taby.se (Bjorn Osterman) writes:
- > If I have 2 cpp files and i use the same global variable that i define
- > in some file that both cpp-files includes. How do I tell the compiler
- > that the variable is the same and that it shouldn't make space 2
- > times?
- >
- >
- >
- > // bjorn@ava.taby.se
- > // http://www.ava.taby.se/www/sence
-
-
- Bjorn,
-
- Put the global once in a common header????
-
- chz
-
- andrewo
-